package com.jz.community.moduleshoppingguide.neighbor.ui;

import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.moduleshoppingguide.neighbor.bean.PublishTypeBean;
import com.jz.community.moduleshoppingguide.neighbor.bean.UploadImagesBean;

import java.io.File;
import java.util.ArrayList;

public interface PublishMsgView {
    interface View extends MVPContract.View {
        void setTipsData(PublishTypeBean entity);

        void tipsError(String msg);

        void UploadSuccess(UploadImagesBean entity);

        void UploadError(String msg);

        void publishSuccess();

        void publishError(String msg);
    }

    interface Presenter extends MVPContract.Presenter<PublishMsgView.View> {
        void initTips();

        void upLoadImage(ArrayList<File> files);

        void publishMessage(String image_up, String content, String tip);


    }
}
